package com.home.model.dto;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.ManyToOne;

import com.home.model.entity.Agent;
import com.home.model.entity.Team;

public class AgentDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int idAgent;
	private Team team;
	private String agentName;
	private String employeeId;
	private int role;
	private AccountDto account;

	public AgentDto() {
		super();
	}

	public AgentDto(Agent agent) {
		super();
		this.idAgent = agent.getIdAgent();
		this.team = agent.getTeam();
		this.agentName = agent.getAgentName();
		this.employeeId = agent.getEmployeeId();
		this.role = agent.getRole();

	}

	public AgentDto(int idAgent, Team team, String agentName,
			String employeeId, int role, AccountDto account) {
		super();
		this.idAgent = idAgent;
		this.team = team;
		this.agentName = agentName;
		this.employeeId = employeeId;
		this.role = role;
		this.account = account;
	}

	public int getIdAgent() {
		return idAgent;
	}

	public void setIdAgent(int idAgent) {
		this.idAgent = idAgent;
	}

	public Team getTeam() {
		return team;
	}

	public void setTeam(Team team) {
		this.team = team;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public int getRole() {
		return role;
	}

	public void setRole(int role) {
		this.role = role;
	}

	public AccountDto getAccount() {
		return account;
	}

	public void setAccount(AccountDto account) {
		this.account = account;
	}

}
